package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.CouponReceive;
import com.example.mall.dto.CouponReceiveDto;
import com.example.mall.query.CouponReceiveQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 优惠券领取记录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface ICouponReceiveService extends IService<CouponReceive> {

    //分页查询优惠券领取记录表信息
    PageDTO<CouponReceiveDto> queryPage(CouponReceiveQuery couponReceiveQuery);

    //新增优惠券领取记录表
    void insert(CouponReceiveDto couponReceiveDto);
    //修改优惠券领取记录表信息
    void update(CouponReceiveDto couponReceiveDto);
    //删除优惠券领取记录表信息
    void delete(Long receiveId);
    //批量删除优惠券领取记录表信息
    void deleteBatch(List<Long> receiveIds);
    //根据id查询优惠券领取记录表信息
    CouponReceive queryCouponReceiveById(Long receiveId);

    //查询全部优惠券领取记录表信息
    List<CouponReceive> queryCouponReceiveList();
}
